package com.manager.bean.view;

import java.io.Serializable;

public class StudentDormitoryView implements Serializable {
    private Integer id;

    private String name;

    private String studentPhone;

    private String campus;

    private String buildingName;

    private Integer dormitoryId;

    private Integer bed;

    private String counsellor;

    private String counsellorPhone;

    private String managerName;

    private String managerPhone;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getStudentPhone() {
        return studentPhone;
    }

    public void setStudentPhone(String studentPhone) {
        this.studentPhone = studentPhone == null ? null : studentPhone.trim();
    }

    public String getCampus() {
        return campus;
    }

    public void setCampus(String campus) {
        this.campus = campus == null ? null : campus.trim();
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName == null ? null : buildingName.trim();
    }

    public Integer getDormitoryId() {
        return dormitoryId;
    }

    public void setDormitoryId(Integer dormitoryId) {
        this.dormitoryId = dormitoryId;
    }

    public Integer getBed() {
        return bed;
    }

    public void setBed(Integer bed) {
        this.bed = bed;
    }

    public String getCounsellor() {
        return counsellor;
    }

    public void setCounsellor(String counsellor) {
        this.counsellor = counsellor == null ? null : counsellor.trim();
    }

    public String getCounsellorPhone() {
        return counsellorPhone;
    }

    public void setCounsellorPhone(String counsellorPhone) {
        this.counsellorPhone = counsellorPhone == null ? null : counsellorPhone.trim();
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName == null ? null : managerName.trim();
    }

    public String getManagerPhone() {
        return managerPhone;
    }

    public void setManagerPhone(String managerPhone) {
        this.managerPhone = managerPhone == null ? null : managerPhone.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", studentPhone=").append(studentPhone);
        sb.append(", campus=").append(campus);
        sb.append(", buildingName=").append(buildingName);
        sb.append(", dormitoryId=").append(dormitoryId);
        sb.append(", bed=").append(bed);
        sb.append(", counsellor=").append(counsellor);
        sb.append(", counsellorPhone=").append(counsellorPhone);
        sb.append(", managerName=").append(managerName);
        sb.append(", managerPhone=").append(managerPhone);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}